Drop a few rules that aren't used anymore
authorMatthias Clasen <mclasen@redhat.com>
Thu, 4 Sep 2014 04:21:25 +0000 (00:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 4 Sep 2014 04:21:25 +0000 (00:21 -0400)
These rules haven't been exercised in ages, time to drop them.

Makefile.am
sanity_check [deleted file]

index 3d9d80b74afad629aa5648b7e62558c5cb6a4f32..64af317c673646b43d510bb4ac645ea1bf673a3b 100644 (file)
@@ -98,29 +98,7 @@ dist-hook:
             && cp INSTALL README $(distdir) ; \
        fi
 
-.PHONY: files release sanity snapshot ChangeLog
-
-files:
-       @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
-         echo $$p; \
-       done
-       @for subdir in $(SUBDIRS); do \
-         files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \
-         for file in $$files; do \
-           echo $$subdir/$$file; \
-         done; \
-       done
-
-release:
-       rm -rf .deps */.deps
-       $(MAKE) distcheck
-
-sanity:
-       ./sanity_check $(VERSION)
-
-
-snapshot:
-       $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
+.PHONY: ChangeLog
 
 DISTCHECK_CONFIGURE_FLAGS =            \
        --enable-gtk-doc                \
diff --git a/sanity_check b/sanity_check
deleted file mode 100755 (executable)
index 182d426..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-
-VERSION=$1
-
-if [ ! -f gtk+-$VERSION.tar.gz ]; then
-       echo "ERROR: gtk+-$VERSION.tar.gz does not exist..."
-       exit 1
-fi
-
-echo ""
-
-echo "Checking gtk+-$VERSION.tar.gz..."
-tar xfz gtk+-$VERSION.tar.gz
-
-
-echo -n "README..."
-if [ "x`grep $VERSION gtk+-$VERSION/README | wc -l | awk -F' ' '{print $1}'`" == "x4" ]; then 
-       echo "ok" 
-else
-       echo "failed."
-       exit 1
-fi
-
-echo -n "INSTALL..."
-if [ "x`grep $VERSION gtk+-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" == "x3" ]; then 
-       echo "ok" 
-else
-       echo "failed."
-       exit 1
-fi
-
-echo -n "NEWS..."
-if [ "x`grep "GTK+ $VERSION" gtk+-$VERSION/NEWS | wc -l | awk -F' ' '{print $1}'`" == "x1" ]; then 
-       echo "ok" 
-else
-       echo "failed."
-       exit 1
-fi
-
-echo -n "configure.ac..."
-if [ "x`grep $VERSION gtk+-$VERSION/configure.ac | wc -l | awk -F' ' '{print $1}'`" == "x2" ]; then
-       echo "ok" 
-else
-       echo "failed."
-       exit 1
-fi
-
-
-echo ""
-echo "Number of lines in created documentation files:"
-
-wc -l gtk+-$VERSION/docs/html/*.html | grep -v total
-wc -l gtk+-$VERSION/docs/text/*.txt | grep -v total
-wc -l gtk+-$VERSION/docs/*.info | grep -v total
-
-rm -rf gtk+-$VERSION